import java.util.Scanner;
public class test3 {
    public static void main(String[] args) {
        // 注意 hasNext 和 hasNextLine 的区别
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        char[] ch = s.toCharArray();
        String str = "";
        for(int i = 1; i < ch.length; i++) {
            if(ch[i] == ' ') {
                str = str + ch[i];
            }
        }

        str = str.toUpperCase();
        System.out.println(str);
    }
}
